<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="CunhuoNavCtrl"></ul>
<div class="set_box">
<h1 class="set_title"><!--新增退库单-->{{language.TIPS_INVENTORY_NEW_BACK_STOCK}}</h1>
<div class="set_cont add_page">
<form class="add_form">
		<p class="title">
			<!--必填资料-->{{language.TIPS_INVENTORY_MUST_INFORMATION}}
		</p>
		<p class="item_wrap">
			<label class="name">* <!--单据编号-->{{language.TIPS_INVENTORY_DOC_CODE}}:</label>
			<span class="val">{{filter.record_code}}</span>
		</p>
		<p class="item_wrap">
			<label class="name">* <!--日期-->{{language.TIPS_INVENTORY_DATE}}:</label>
            <span class="val time">{{filter.record_time}}</span>
		</p>
		<p class="item_wrap">
			<label class="name">* <!--退货类型-->{{language.TIPS_INVENTORY_BACK_TYPE}}:</label>
			<select class="val" ng-model="filter.return_type"  ng-options="type.record_type_name for type in filter.allocate_type_option">
				<option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
			</select>
		</p>
		<p class="item_wrap">
			<label class="name">* <!--营业员-->{{language.TIPS_INVENTORY_SHOP_ASSISTANT}}:</label>
			<select class="val" ng-model="filter.user_code"  ng-options="daogouyuan.UserName for daogouyuan in filter.user_code_option ">
				<option value=""><!--请选择-->{{language.TIPS_INVENTORY_SELECT}}</option>
			</select>
		</p>
		<p class="item_wrap">
			<label class="name">* <!--仓库-->{{language.TIPS_INVENTORY_WAREHOUSSE}}:</label>
			<span class="val">{{filter.ck}}</span>
		</p>
		
</form>
<p class="btn_wrap">
    <button class="btn"  type="button" ng_click="save_local(filter);"><!--保存-->{{language.ACT_SAVE}}</button>
    <button class="btn" type="reset" ng-click="reset(filter);"><!--重置-->{{language.ACT_RESET}}</button>
</p>
</div>
</div>
